<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
      list-style: none;
      margin: 0;
      padding: 0;
    }
    </style>
</head>
<body>
    <div id="app">
        <p>
            品牌：<input v-model="userInfo.brand" type="text">
        </p>
        <p>
            车型：<input v-model="userInfo.series" type="text">
        </p>
        <p>
            年份：<input v-model="userInfo.creation" type="text">
        </p>
        <ul>
            <li v-for="(item,index) in arr" >
                {{item.brand}}||{{item.series}}||{{item.creation}}
            </li>
        </ul>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script>
        new Vue({
            el:"#app",
            data:{
                userInfo:{
                    brand:"",
                    series:"",
                    creation:""
                },
                arr:[
                    {
                        brand: "奥迪",
                        series: "奥迪A4",
                        creation: "2021"
                    },
                    {
                        brand: "奥迪",
                        series: "奥迪A6",
                        creation: "2021"
                    },
                    {
                        brand: "奥迪",
                        series: "奥迪A6",
                        creation: "2020"
                    },
                    {
                        brand: "奥迪",
                        series: "奥迪A8",
                        creation: "2020"
                    },
                ],
            },
            computed:{
               newArr(){
                    return this.arr
                }
            },
            watch:{
                userInfo:{
                    deep:true,
                    handler(newValue,oldValue){
                        console.log(newValue)
                    }
                }
            }
            
        })
    </script>
</body>
</html>